
from django.conf.urls.defaults import patterns
    
urlpatterns = patterns('',
    (r'^listar/p=(?P<object_id>\d+)&ot=(?P<ot>\w+)&o=(?P<o>\d+)&page=(?P<page>\d+)/$',                      'wal.control.views.listar'),                   
    #(r'^listar/(?P<object_id>\d+)/$',               'wal.control.views.listar'),
    (r'^ver/(?P<object_id>\d+)/$',                  'wal.control.views.ver'),
    (r'^crear/(?P<object_id>\d+)/$',                'wal.control.views.crear'),
    (r'^editar/(?P<object_id>\d+)/$',               'wal.control.views.editar'),
    (r'^borrar/p=(?P<object_id>\d+)&ot=(?P<ot>\w+)&o=(?P<o>\d+)&page=(?P<page>\d+)/$',               'wal.control.views.borrar'),
    
    (r'^detalle/borrar/(?P<object_id>\d+)/$',       'wal.control.views.borrarDetalle'),
    (r'^detalle/nuevo/(?P<object_id>\d+)/$',       'wal.control.views.crearNuevoDetalle'),
    
    (r'^eval/crear/(?P<object_id>\d+)/$',           'wal.control.views.crearEval'),
    #(r'^eval/listar/(?P<object_id>\d+)/$',          'wal.control.views.listarEval'),
    (r'^eval/ver/(?P<object_id>\d+)/$',             'wal.control.views.verEval'),
    (r'^eval/borrar/(?P<object_id>\d+)/$',          'wal.control.views.borrarEval'),
    
    (r'^accion/borrar/(?P<object_id>\d+)/$',        'wal.control.views.borrarAccion'),
    (r'^accion/c/(?P<object_id>\d+)/$',             'wal.control.views.confAccion'),
    (r'^accion/n/(?P<object_id>\d+)/$',             'wal.control.views.nconfAccion'),
    (r'^accion/r/(?P<object_id>\d+)/$',             'wal.control.views.repAccion'),
    
    (r'^stock/(?P<object_id>\d+)/$',                'wal.control.views.crearStock'),
    )
 
    